package org.nepu.sc.dict;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.lboot.jpa.jpa.AbstractJpaCurdExt;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
@AllArgsConstructor
public class SafeRateDictServiceImpl extends AbstractJpaCurdExt<String, SafeRateDict, SafeRateDictDAO> implements SafeRateDictService{
    @Override
    public List<SafeRateDict> getByRateId(String rateId) {
        return dao.findByRateId(rateId);
    }
}
